package com.google.code.msgbooster.model.extension;

import java.net.URL;
import java.util.List;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;
import com.google.appengine.api.datastore.Link;
import com.google.code.msgbooster.model.Meta;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public final class Guide extends Meta {	

	private static final long serialVersionUID = -5724475803104573743L;
	
	@PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Key key;
	
	@Persistent
	private String detector;
	
	@Persistent
	private Link resource;
	
	@Persistent
	private String clue;
	
	@Persistent
	private String contentElement;
	
	@Persistent
	private String linkElement;	
	
	@Persistent
	private Link fixedLink;
	
	@Persistent
	private List<String> tag;

	public Key getKey() {
		return key;
	}

	public void setKey(Key key) {
		this.key = key;
	}

	public String getDetector() {
		return detector;
	}

	public void setDetector(String detector) {
		this.detector = detector;
	}

	public Link getResource() {
		return resource;
	}

	public void setResource(Link resource) {
		this.resource = resource;
	}

	public String getClue() {
		return clue;
	}

	public void setClue(String clue) {
		this.clue = clue;
	}

	public String getContentElement() {
		return contentElement;
	}

	public void setContentElement(String contentElement) {
		this.contentElement = contentElement;
	}

	public String getLinkElement() {
		return linkElement;
	}

	public void setLinkElement(String linkElement) {
		this.linkElement = linkElement;
	}

	public Link getFixedLink() {
		return fixedLink;
	}

	public void setFixedLink(Link fixedLink) {
		this.fixedLink = fixedLink;
	}

	public List<String> getTag() {
		return tag;
	}

	public void setTag(List<String> tag) {
		this.tag = tag;
	}
	
}
